MailPoet\Cron\CronHelper S

Total Complexity 43
Dependencies 8
Dependents 17
Total lines 215
Lines of code 164
Logical lines of code 81
Comment lines 16
Methods 19
Properties 2

Methods 19

Method Rating Maintainability Complexity Lines of code
getSiteUrl()
A
51 11 22
isDaemonAccessible()
S
58 6 16
pingDaemon()
S
61 3 12
deactivateDaemon()
S
64 3 10
accessDaemon()
S
59 2 15
getCronUrl()
S
63 2 11
enforceExecutionLimit()
S
69 2 6
saveDaemonRunCompleted()
S
69 2 7
saveDaemonLastError()
S
67 2 8
createDaemon()
S
61 1 13
queryCronUrl()
S
62 1 12
saveDaemon()
S
70 1 7
getDaemonExecutionLimit()
S
75 1 4
createToken()
S
81 1 3
validatePingResponse()
S
80 1 3
getDaemon()
S
80 1 3
restartDaemon()
S
80 1 3
getDaemonExecutionTimeout()
S
72 1 5
__construct()
S
77 1 4